/*
 * Copyright (c) 2014 laidian. All Rights Reserved.
 * @author yaoyuming
 * @date  2020-08-05 16:45
 */
package com.yao.constant;

import com.baomidou.mybatisplus.generator.config.ConstVal;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author yaoyuming
 * @date 2020/08/05 16:45
 */
public final class ParamConst implements ConstVal {

    /* 生成代码文件输出目录 d:/temp */
    public static final String DEST_PATH = "dest_path";

    public static final String DTO = "Dto";

    public static final String ENTITY_PKG = "/entity";
    public static final String DTO_PKG = "/entity/dto";
    public static final String MAPPER_XML_PKG = "/mapper/xml";
    public static final String MAPPER_PKG = "/mapper";
    public static final String SERVICE_PKG = "/service";
    public static final String SERVICE_IMPL_PKG = "/service/impl";
    public static final String CONTROLLER_PKG = "/controller";

    public static final Map<String, String> pkg = new HashMap<>();

    static {
        pkg.put(ENTITY_PKG, ENTITY);
        pkg.put(DTO_PKG, DTO);
        pkg.put(MAPPER_XML_PKG, MAPPER);
        pkg.put(MAPPER_PKG, MAPPER);
        pkg.put(SERVICE_PKG, SERVICE);
        pkg.put(SERVICE_IMPL_PKG, SERVICE_IMPL);
        pkg.put(CONTROLLER_PKG, CONTROLLER);
    }
}